$('#test').click(function (){
    console.log("addevice");
    $.ajax(
        {
            type: "post",
            url: "/Register",
            dataType: "json",
            data: {

                userPassword:$("#userPassword").val(),
               userName: $("#userName").val(),
               userType: $("input[name='group1']:checked").val()
            }


        }
    )
});
